Skip to content

Add Sorting Functionality for Quick Search Results #3012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SougandhS
Copy link

This PR adds sorting functionality to the Quick Search results, enabling users to sort entries by Line Number, Text, or by Path. The update introduces a user interface element (such as a dropdown or clickable column headers) that allows users to choose their preferred sorting method. This improves the usability of the search feature, especially when working with large result sets, by helping users locate relevant entries more quickly.

quick.mp4

Fixes : #1940

@SougandhS
Copy link
Author

Hi @mickaelistria
Could you please check this PR when you have some time..

@SougandhS SougandhS force-pushed the quickSearchSorting branch 3 times, most recently from 431fd3f to 2babf62 Compare June 10, 2025 05:30
@SougandhS SougandhS force-pushed the quickSearchSorting branch from 2babf62 to 0685418 Compare June 13, 2025 03:13
@SougandhS
Copy link
Author

Hi @merks, could you please take a look at this PR when you get a sec?

@SougandhS SougandhS force-pushed the quickSearchSorting branch 2 times, most recently from 577685c to 573a28b Compare June 20, 2025 05:48
@SougandhS
Copy link
Author

hi @iloveeclipse, could you please review this ?

@SougandhS SougandhS force-pushed the quickSearchSorting branch from 573a28b to 2b0e17d Compare June 24, 2025 12:00
Copy link
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m traveling and looking with an iPhone. It’s not clear why some of the fields are arrays. Mostly I see access via [0].

@SougandhS
Copy link
Author

I’m traveling and looking with an iPhone. It’s not clear why some of the fields are arrays. Mostly I see access via [0].

Thanks Ed Merks for checking. I used single-element final arrays here so I could retain and update the values inside TableColumn.addSelectionListener 's new SelectionAdapter() {...}.(). class.

@merks
Copy link
Contributor

merks commented Jun 24, 2025

I’m traveling and looking with an iPhone. It’s not clear why some of the fields are arrays. Mostly I see access via [0].

Thanks Ed Merks for checking. I used single-element final arrays here so I could retain and update the values inside TableColumn.addSelectionListener 's new SelectionAdapter() {...}.(). class.

So why not ordinary non-final fields? Taking off now.

@SougandhS
Copy link
Author

So why not ordinary non-final fields? Taking off now.

non-final values can work too, I will update it

This commit adds sorting functionality to the Quick Search results,
allowing users to sort entries by Line Number, Text, and Path.

Fixes : eclipse-platform#1940
@SougandhS SougandhS force-pushed the quickSearchSorting branch from 2b0e17d to 2e2a84c Compare June 24, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quick Search: Allow ordering of search results by Path
2 participants